package com.jxchexie.model;

import com.google.gson.annotations.SerializedName;

/**
 * created by zj
 */

public class User {
    @SerializedName("_id")
    private String id;//主键01
    private String username;
    private String password;
    private String unsigned_count;
    private String signed_count;
    private String date;//最近一次签到日期

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    @SerializedName("__v")
    private String version;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUnsigned_count() {
        return unsigned_count;
    }

    public void setUnsigned_count(String unsigned_count) {
        this.unsigned_count = unsigned_count;
    }

    public String getSigned_count() {
        return signed_count;
    }

    public void setSigned_count(String signed_count) {
        this.signed_count = signed_count;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    @Override
    public String toString() {
        return "User{" +
                "id='" + id + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", unsigned_count='" + unsigned_count + '\'' +
                ", signed_count='" + signed_count + '\'' +
                ", version='" + version + '\'' +
                '}';
    }
}
